﻿namespace Repositories.VM;

/// <summary>
/// 当前登录用户
/// </summary>
public class CurrentUser
{
    /// <summary>
    /// 用户主键id
    /// </summary>
    public int Id { get; set; }
    /// <summary>
    /// 统一认证的用户id
    /// </summary>
    public int UserId { get; set; }
    /// <summary>
    /// 账号
    /// </summary>
    public string Account { get; set; }
    /// <summary>
    /// 角色id
    /// </summary>
    public int RoleId { get; set; }
    /// <summary>
    /// 角色名称
    /// </summary>
    public string RoleName { get; set; }
    /// <summary>
    /// 姓名
    /// </summary>
    public string Name { get; set; }
    /// <summary>
    /// 用户类型 0 其它 1 老师 2 学生
    /// </summary>
    public int Type { get; set; }

    /// <summary>
    /// 性别 0 未知 1 男 2 女
    /// </summary>
    public int Gender { get; set; }
    /// <summary>
    /// 头像
    /// </summary>
    public string? Avatar { get; set; }
    /// <summary>
    /// 0 禁用 1 启用
    /// </summary>
    public int Enable { get; set; }
}